export default {
  invoicePage(data) {
    return {
      name: '发票分页查询',
      url: '/mall/invoice/page',
      method: 'post',
      data
    }
  },
  serviceFeePage(data) {
    return {
      name: '分页查询',
      url: '/mall/serviceFee/page',
      method: 'post',
      data
    }
  },
  tenantsList(data) {
    return {
      name: '4s列表',
      url: '/rbac/tenants/types',
      method: 'get',
      data
    }
  },
  serviceFeeTime(data) {
    return {
      name: '服务费管理账期获取',
      url: '/mall/serviceFee/getAccountPeriodList',
      method: 'get',
      data
    }
  },
  serviceFeeMoney(id) {
    return {
      name: '通过服务费ID获取发票',
      url: `/mall/serviceFee/getInvoiceByServiceFeeId/${id}`,
      method: 'get',
    }
  },
  serviceFeeDetailPage(data){
    return {
      name: '服务费详情',
      url: '/mall/serviceFee/getDetailPage',
      method: 'post',
      data
    }
  },
  invoiceOk(data){
    return {
      name: '确认开票',
      url: '/mall/invoice/save',
      method: 'post',
      data
    }
  }
  
  
  
  
}
